@import '~taro-ui/dist/style/components/list.scss';
@import '~taro-ui/dist/style/components/icon.scss';
@import '~taro-ui/dist/style/components/search-bar.scss';
@import '~taro-ui/dist/style/components/button.scss';
@import '~taro-ui/dist/style/components/icon.scss';
@import '~taro-ui/dist/style/components/tabs.scss';


.colleg {
  .at-search-bar__action {
    // background-color: ;
  }

  .imageContainer {
    width: 100%;

    image {
      width: 100%;
      height: 460rpx;
    }
  }

  .padding25 {
    padding: 25px;
    background-color: #fff;

    .title {
      display: -webkit-box;
      overflow: hidden;
      white-space: normal !important;
      text-overflow: ellipsis;
      word-wrap: break-word;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
    }

    .flexNum {
      margin-top: 20px;
      display: flex;
      justify-content: space-between;
      color: rgb(146, 142, 142);

      Text {
        flex: 1;
        display: -webkit-box;
        overflow: hidden;
        white-space: normal !important;
        text-overflow: ellipsis;
        word-wrap: break-word;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
      }

      .person {
        text-align: right;
      }
    }

    .flexPriceAndFollow {
      margin-top: 20px;
      display: flex;
      justify-content: space-between;

      .priceNum {

        color: rgb(255, 183, 0);
        font-size: 40px;

        .Sapplets {
          // font-size: 30px;
        }
      }

      .flex_1 {

        .like_wrapper {
          width: 150rpx;
          display: flex;
          align-items: center;
          justify-content: space-between;

          image {
            width: 40rpx;
            height: 35rpx;
            margin-right: 20rpx;
          }

          .likeStyle {
            font-size: 30px;
            color: #999;
          }
        }
      }
    }
  }

  .tabsWsrap {
    margin-top: 20px;

    .catalog {
      padding: 25px;
      border-bottom: 1px solid #eee;

      .catalogTitle {
        font-size: 40px;
      }
    }

    .catalogItem {
      padding: 25px;
      display: flex;
      justify-content: space-around;
      flex-direction: row;
      align-items: center;

      .ItemMiddle {
        margin-left: 40px;
        flex: 1;
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid #eee;

        .ItemTime {
          padding: 30rpx;
        }
      }

      .rightslot {
        .textSpan {
          font-size: 25rpx;
          color: rgb(255, 183, 0);
          border: 1px solid rgb(255, 183, 0);
          padding: 5px;
        }

        .lock {
          width: 44rpx;
          height: 44rpx;

          image {
            width: 100%;
            height: 100%;
          }
        }
      }
    }

    .margintop80 {
      margin-top: 200px;
    }

    // 课程简介
    .introduction {
      padding: 25px;
      background-color: #fff;
      border-bottom: 1px solid #eee;

      .introductionTitle {
        font-size: 40px;
      }
    }

    .richtext {
      width: 90%;
      margin: 0 auto;
      font-size: 30px;
      image {
        width: 100%;
      }
    }

    // 精彩评论
    .GreatComments {
      padding: 25px;
      background-color: #fff;
      border-bottom: 1px solid #eee;

      .GreatCommentsTitle {
        font-size: 40px;
      }
    }

    .commentItem {
      display: flex;
      padding: 25px;
      background-color: #fff;
      border-bottom: 1px solid #eee;

      .authorImg {
        // flex: 1;
        width: 100px;
        height: 100px;
        margin-right: 20px;

        image {
          width: 100%;
          height: 100%;
        }
      }

      .commentRight {
        flex: 8;
        color: #999;

        .commentTop {
          display: flex;
          justify-content: space-between;

          .nickName {
            font-size: 30px;
          }

          .commentDate {
            font-size: 25px;
          }
        }

        .commentContent {
          font-size: 27px;
          margin-top: 20px;
        }
      }
    }
  }

  .footerBtn {
    text-align: center;
    background-color: rgb(255, 183, 0);
    width: 90%;
    color: #fff;
    margin: 0 auto;
    height: 80px;
    line-height: 80px;
    border-radius: 10px;
    position: fixed;
    bottom: 20px;
    left: 30px;

    .footerBtnSpan {}
  }
}

// 内置样式
.at-tabs__item-underline {
  display: block;
  position: absolute;
  left: 25%;
  bottom: 0;
  width: 50%;
  height: 2px;
  background-color: rgb(255, 183, 0);
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.15s;
  -o-transition: all 0.15s;
  transition: all 0.15s;
}

.at-tabs__item--active {
  color: rgb(255, 183, 0);
}

.at-tabs__body {
  margin-top: 20px;
  background-color: #fff;
  display: block;
  width: 100%;
  white-space: nowrap;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  will-change: transform, left, top;
  overflow: visible;
}
